<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>window</title>
</head>
<body>


<div id="app">

    <div v-if="show">
        我是div
    </div>

    <h3 v-show="show">
        我是show
    </h3>

    <p v-if="age>18">
        38妇女节
    </p>
    <p v-else-if="age < 6">
       儿童节
    </p>
    <p v-else>
        37女生节
    </p>

</div>


<script src="../node_modules/vue/dist/vue.js"></script>
<script>
    let app = new Vue({
            el: "#app",
            data: {
                age:5,
                show:false
            }
        })
    ;
</script>
</body>
</html>